export default {
  path: 'Mine',
  indexRoute: {
    getComponent(nextState, callback) {
      require.ensure([], (require) => {

        callback(null, require('VIEW/Mine').default)
      }, 'Mine')
    },
  },

  childRoutes: [
    {
      path: 'HouseLoanApply',
      indexRoute: {
        component: require('VIEW/Mine/HouseLoanApply').default
      }
    },
    {
      path: 'HouseLoanApplyRes',
      indexRoute: {
        component: require('VIEW/Mine/HouseLoanApplyRes').default
      }
    },
    {
      path: 'ProgressInquiry',
      indexRoute: {
        component: require('VIEW/Mine/ProgressInquiry').default
      }
    },
    {
      path: 'ProgressInquiryList',
      indexRoute: {
        component: require('VIEW/Mine/ProgressInquiryList').default
      }
    },
    {
        path: 'Credit',
        indexRoute: {
            component: require('VIEW/Mine/Credit').default
        }
    },
    {
        path: 'Agreement',
        indexRoute: {
            component: require('VIEW/Mine/Agreement').default
        }
    },
    {
        path: 'CreditCode',
        indexRoute: {
            component: require('VIEW/Mine/CreditCode').default
        }
    }
  ]
}
